import { getToken } from '@/utils/auth';
export default {
	namespaced: true,
	state: {
		userInfo: {
			token: '',
		},
	},
	mutations: {
		
	},
	actions: {
		/** 获取用户信息 */
		async getUser({ commit }) {
			if (!getToken()) return
			commit('$setStore', {
				path: 'userInfo',
				value: ''
			})
		}
	}
}